-- GENERATED SPELL FOR [Arnak Grimtotem] --


function spell0_10896(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(11977,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10896', 15000, 1)
end

function spell1_10896(pUnit, Event) --@Uppercut,n/a--
pUnit:FullCastSpellOnTarget(10966,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_10896', 609, 1)
end

function Sorts_10896(pUnit, Event)
local choix_sorts_10896 = math.random(0, 1)
if choix_sorts_10896 == 0 then
pUnit:RegisterEvent('spell0_10896', 1, 1)
end
if choix_sorts_10896 == 1 then
pUnit:RegisterEvent('spell1_10896', 1, 1)
end
end

function mob10896_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_10896', math.random(1500, 3000), 1)
end

function mob10896_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10896_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob10896_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(10896, 1, 'mob10896_Action')
RegisterUnitEvent(10896, 2, 'mob10896_Leave')
RegisterUnitEvent(10896, 3, 'mob10896_Kill')
RegisterUnitEvent(10896, 4, 'mob10896_Die')
